home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 117
/
FreelogNo117-OctobreNovembre2013.iso
/
Programmation
/
jedit
/
jedit5.1.0install.exe
/
{app}
/
macros
/
Files
/
Copy_Path_to_Clipboard.bsh
< prev
next >
Wrap
Text File
|
2013-07-28
|
617b
|
28 lines
/*
* Copy_Path_to_Clipboad.bsh - Copies the current buffer's
* path to the clipboard.
*
* Copyright (C) 2002-2004 Ollie Rutherfurd <oliver@rutherfurd.net>
*
* $Id: Copy_Path_to_Clipboard.bsh 5016 2004-04-09 17:10:15Z spestov $
*/
void copyBufferPathToClipboard(Buffer buffer)
{
Registers.setRegister('$',buffer.getPath());
HistoryModel.getModel("clipboard").addItem(buffer.getPath());
}
copyBufferPathToClipboard(buffer);
/*
<listitem>
<para><filename>Copy_Path_to_Clipboad.bsh</filename></para>
<abstract><para>Copies the current buffer's path
to the clipboard.
</para></abstract>
</listitem>
*/